// import EventHub from "ynw/lib/EventHub";
import EventHub from "./EventHub";


const hub =  EventHub();
// const hub = new EventHub();
export default hub;

// 事件名称
export const TIMEOUT = "timeout"; //网络超时
export const SERVICE_EXCEPTION = "service-exception"; //服务器异常
